package com.ruicar.afs.cloud.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.product.entity.ProductPlanAtom;
import com.ruicar.afs.cloud.product.vo.ProductPlanDataVo;

import java.util.List;
import java.util.Map;

/**
 * @author changyu.gui
 * @version 1.0
 * @date 2020/5/14 18:05
 */
public interface ProductPlanAtomService extends IService<ProductPlanAtom> {

    void saveOrUpdate(Object object, Long id, String type);

    void copyProductPlanData(Long id, Long copyId);

    Map getProductPlanDataInfo(Long productPlanId, String atomShowType, String notAtomShowType);

    ProductPlanAtom getProductPlanData(Long productID, String productAtomKey);

    List<ProductPlanDataVo> getProductPlanDataByProductId(Long productID, String atomShowType);

}
